NMGR\Lib\AddToWishlist D

Total Complexity 142
Dependencies 5
Dependents 1
Total lines 893
Lines of code 716
Logical lines of code 287
Comment lines 73
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
get_button_attributes()
A
47 13 30
get_button_content()
A
45 10 43
get_product_in_wishlist_title_attribute()
A
44 7 58
add()
A
48 8 33
get_dialog_args()
A
45 7 43
get_styles()
A
44 1 130
start()
A
48 7 31
get_button_permalink()
S
52 7 24
maybe_terminate_process()
S
54 7 19
create()
S
48 6 32
added_to_wishlist_notice()
S
50 6 27
dialog_submitted()
S
50 6 27
add_button_clicked()
S
54 5 20
get_button()
S
60 5 12
ajax_post_actions()
S
62 4 13
create_wishlist()
S
51 3 26
maybe_show_add_to_existing_wishlist_link()
S
57 3 19
get_mode()
S
65 4 8
get_template_part()
S
57 3 15
get_wishlists()
S
64 4 9
remove_from_data()
S
68 3 7
get_posted_formdata()
S
65 3 8
get_require_shipping_address_notice()
S
67 3 7
get_dialog_submit_button()
S
74 2 4
get_add_to_new_wishlist_text()
S
65 2 9
get_create_wishlist_mode()
S
78 2 3
get_products_data_from_product_ids()
S
69 2 7
get_columns()
S
67 1 9
get_input_name_for_product()
S
79 1 3
run()
S
79 1 3
get_template()
S
68 1 7
get_button_text()
S
69 1 7
get_section()
S
71 1 5
show_dialog_section()
S
69 1 7
show_dialog()
S
66 1 8
get_button_type()
S
79 1 3